package net.pinnoocle.playdao.entity.shopPc;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-10-20 17:04
 */
@Data
public class ShopLoginParams {

    @ApiModelProperty("登录账号")
    @NotNull(message = "登录账号不能为空")
    private String loginName;

    @ApiModelProperty("登录密码(加密规则：明文密码sha-512加密，结果字符串+timestamp再次sha-512)")
    @NotNull(message = "登录密码不能为空")
    private String passWord;

    @ApiModelProperty("当前时间戳")
    private Long timestamp;
}
